#ifndef _TRANSACTION_QUEUE_H
#define _TRANSACTION_QUEUE_H

#include "membackend/accurateAddressMappingConfig.h"
#include "membackend/accurateTransaction.h"


class TransactionQueue{
private:
    vector<Transaction> queue;
    MyQueuePolicy queue_policy;
    uint64_t transaction_queue_delay;
public:
    TransactionQueue();
    TransactionQueue(const AddressMappingConfig *amp);
    uint64_t Process(Transaction &transaction, uint64_t time);
};


#endif // _TRANSACTION_QUEUE_H